﻿
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using WebSilverlight.Web.Resources;
using DeklaritModel;

namespace WebSilverlight.Web
{   
    public partial class CiudadWrapper
    {
		[Key]
		[Display(Name = "Id Pais", ShortName = "Id Pais", Description = "Id Pais", AutoGenerateField = false)] 				
		public Int16 PaisId { get; set; }		
				
		[Display(Name = "Id Pais", ShortName = "Id Pais", Description = "Id Pais", Order = 1)] 				
		public Int16 PaisIdEditable 
		{ 
			get
            {
                return PaisId;
            }
            set
            {
                PaisId  = value;
            }
		}					
			
		[StringLength(20)]
		[Bindable(true, BindingDirection.OneWay)]
		[Display(Name = "Nombre", ShortName = "Nombre", Description = "Nombre" , Order = 2)] 				
		public string PaisNombre { get; set; }				
		
		[StringLength(2)]
		[Bindable(true, BindingDirection.OneWay)]
		[Display(Name = "Moneda", ShortName = "Moneda", Description = "Moneda" , Order = 3)] 				
		public string PaisMoneda { get; set; }				
		
		[Key]
		[Display(Name = "Id", ShortName = "Id", Description = "Id", AutoGenerateField = false)] 				
		public Int16 CiudadId { get; set; }		
				
		[Display(Name = "Id", ShortName = "Id", Description = "Id", Order = 4)] 				
		public Int16 CiudadIdEditable 
		{ 
			get
            {
                return CiudadId;
            }
            set
            {
                CiudadId  = value;
            }
		}					
			
		[StringLength(20)]
		[Display(Name = "Nombre", ShortName = "Nombre", Description = "Nombre" , Order = 5)] 				
		public string CiudadNombre { get; set; }				
		
    }
}